package com.designpattern.AdapterPattern;

/**
 * @Author yp
 * @Date 2021-07-06
 * @Description
 **/

public class Test {

    public static void main(String[] args) {
        System.out.println("适配器模式测试：");
        Motor motor= new ElectricAdapter();
        motor.drive();
    }
}
